﻿#ifndef LogWidget_H
#define LogWidget_H

#include <QtCore/qglobal.h>
#include <QObject>

#ifndef BUILD_STATIC
# if defined(LOGWIDGET_LIB)
#  define LOGWIDGET_EXPORT Q_DECL_EXPORT
# else
#  define LOGWIDGET_EXPORT Q_DECL_IMPORT
# endif
#else
# define LOGWIDGET_EXPORT
#endif

extern "C" LOGWIDGET_EXPORT void addMsg(QString sModuleName, QString sDeviceName, QString sFuncName, int nLevel, QString sLog);
extern "C" LOGWIDGET_EXPORT QWidget* createLogWidgte(QString sModuleName,QString sDeviceName);
extern "C" LOGWIDGET_EXPORT void destroyLogWidget(QWidget* widget);
#endif